import request from '@/utils/request'

export function getCollectPage(query) {
    return request({
        url: "admin/collect/page",
        method: "get",
        params: query
    })
}

export function deleteCollectByIds(ids) {
    return request({
        url: `admin/collect/delete/${Array.isArray(ids) ? ids.join(',') : ids}`,
        method: "delete"
    })
}